How can I convert a string representation of a regex into a RegExp object in JavaScript

visit shbcf.ru